autoconf: fix python-dev detection on old python versions
authorRoger Pau Monne <roger.pau@entel.upc.edu>
Tue, 3 Apr 2012 13:28:45 +0000 (14:28 +0100)
committerRoger Pau Monne <roger.pau@entel.upc.edu>
Tue, 3 Apr 2012 13:28:45 +0000 (14:28 +0100)
commit474a0e59d821bfb49b64c3d722a000bd9b5b7599
tree69ec47ff93293782791aedafbf223ed174950e3a
parent570c311ca2c7a1131570cdfc77e977bc7a9bf4c0
autoconf: fix python-dev detection on old python versions

Replaced the use of python-config (that is only present in Python >= 2.5.x)
with the distutils python module.

Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu>
Cc: Zhang, Yang Z <yang.z.zhang@intel.com>
Tested-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/configure
tools/m4/python_devel.m4